package com.blog.backend.domain;

import org.springframework.data.annotation.Id;
import org.springframework.data.annotation.Transient;
import org.springframework.data.mongodb.core.mapping.Document;

import java.math.BigDecimal;
import java.util.Date;

@Document("CarHistoryLog")
public class EntityCarHistory {

    @Id
    private String id;
    private String DeviceNum;

    private String DeviceName;

    private String DeviceOnline;

    private Date DeviceTime;

    private BigDecimal Longitude;

    private BigDecimal Latitude;

    private BigDecimal Angle;

    private  BigDecimal Speed;

    private BigDecimal Direction;

    @Transient
    private Class<?> classInfo;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getDeviceNum() {
        return DeviceNum;
    }

    public void setDeviceNum(String deviceNum) {
        DeviceNum = deviceNum;
    }

    public String getDeviceName() {
        return DeviceName;
    }

    public void setDeviceName(String deviceName) {
        DeviceName = deviceName;
    }

    public String getDeviceOnline() {
        return DeviceOnline;
    }

    public void setDeviceOnline(String deviceOnline) {
        DeviceOnline = deviceOnline;
    }

    public Date getDeviceTime() {
        return DeviceTime;
    }

    public void setDeviceTime(Date deviceTime) {
        DeviceTime = deviceTime;
    }

    public BigDecimal getLongitude() {
        return Longitude;
    }

    public void setLongitude(BigDecimal longitude) {
        Longitude = longitude;
    }

    public BigDecimal getLatitude() {
        return Latitude;
    }

    public void setLatitude(BigDecimal latitude) {
        Latitude = latitude;
    }

    public BigDecimal getAngle() {
        return Angle;
    }

    public void setAngle(BigDecimal angle) {
        Angle = angle;
    }

    public BigDecimal getSpeed() {
        return Speed;
    }

    public void setSpeed(BigDecimal speed) {
        Speed = speed;
    }

    public BigDecimal getDirection() {
        return Direction;
    }

    public void setDirection(BigDecimal direction) {
        Direction = direction;
    }

    public Class<?> getClassInfo() {
        return classInfo;
    }

    public void setClassInfo(Class<?> classInfo) {
        this.classInfo = classInfo;
    }
}
